﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="pgDetailXml.aspx.cs" Inherits="EGuayas.Web.Licenciamiento.pgDetailXml" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title><link  href="~/Resources/css/Style.css"  rel="stylesheet" />
    <!-- Load Ext JS --> 
   <script src="../../Resources/js/Global.js"></script>
</head>
 <script type="text/javascript">
     function printPage() {

       try{ 
             window.frames[0].focus();
             window.frames[0].print();
         }catch(jsbug){
             AppGlobalJs.showBug("printPage: " + jsbug)
         }

     }
 </script>
<body>

    <ext:ResourceManager ID="ResourceManagerView" runat="server" />
    <ext:Viewport ID="ViewportViewDetails" runat="server" Layout="AnchorLayout">
        <Items>
                <ext:Panel ID="panelShow" runat="server" Region="North" Border="false" Header="false"  Flex="1"  AnchorHorizontal="100%" AnchorVertical="100%">
                    <TopBar>
                            <ext:Toolbar ID="Toolbar1" runat="server" Flat="true">
                                <Items>                     
                                    <ext:ToolbarSeparator/>                        
                                    <ext:Button ID="printButton" runat="server" Icon="PrinterConnect">
                                        <Listeners>
                                            <Click Handler="printPage()" />                                
                                        </Listeners>
                                        <ToolTips>
                                            <ext:ToolTip ID="ToolTip3" runat="server" Html="Simple button" />
                                        </ToolTips>
                                    </ext:Button>
                                </Items>
                            </ext:Toolbar>
                    </TopBar>
                    <Loader ID="Loader1" runat="server" Mode="Frame" AutoLoad="true">
                            <LoadMask ShowMask="true"/>
                    </Loader>
                </ext:Panel>
         </Items>
    </ext:Viewport>
   
</body>
</html>
